Microsoft DirectX 8.1 (C++)

IMediaSample::SetPreroll

The SetPreroll method specifies whether this sample is a preroll sample.

Syntax

HRESULT SetPreroll(
  BOOL bIsPreroll
);

Parameters

bIsPreroll

Boolean value that specifies whether this is a preroll sample. If TRUE, this is a preroll sample.

Return Value

Returns S_OK, or an HRESULT value indicating the cause of the error.

See Also